extends ../../templates/contentPage.pug
block head
    -
        var title = 'News Page'
        var keywords = 'News,demo,children page,using pug'
block main
    .container
        .row
            .col-md-3
                include ../../blocks/sideMenu.pug
            .col-md-6
                #terget-ele Here is the sample element for target
                br
                button.btn.btn-primary.btn-lg(
                    type='button', 
                    data-toggle='modal', 
                    data-target='#myModal') Launch demo modal                
                #myModal.modal.fade(tabindex='-1', role='dialog', aria-labelledby='myModalLabel')
                    .modal-dialog(role='document')
                        .modal-content
                            .modal-header
                                button.close(type='button', data-dismiss='modal', aria-label='Close')
                                    span(aria-hidden='true') &times;
                                h4#myModalLabel.modal-title Modal title
                            .modal-body
                                | Test the modal
                            .modal-footer
                                button.btn.btn-default(type='button', data-dismiss='modal') Close
                                button.btn.btn-primary(type='button') Save changes


block scripts
    script.
        //- alert($('#terget-ele').html()); 
        //- $('#myModal').modal({
        //-     keyboard: false
        //- })
        contentPageController.init();
